<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="x-ua-compatible" content="chrome-1 ie=edge">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, width=device-width">
        <title>扫码登录</title>
        {% load static %}
        <link rel="stylesheet" href="{% static 'css/login_v3.css' %}">
            <!-- jQuery -->
        <script src="{% static 'js/jquery-3.5.1.min.js' %}"></script>
            <!--Layui-->
        <script src="{% static 'plugins/layui/layui.js' %}"></script>
        <!--企业微信扫码登录-->
        <script src="https://rescdn.qqmail.com/node/ww/wwopenmng/js/sso/wwLogin-1.0.0.js"></script>
    </head>
    <body>
        <div id="root">
            <div class="account-wrapper">
                <div class="account-container">
                    <div class="account-header" style="height: 100px;">
                        <h1>工资条管理系统</h1>
                    </div>
                    <div class="account-content account-normal-login">
                        <div class="account-section-title">
                            <div class="account-section-title-content">
                                <p class="account-section-title-text">登录/Login</p>
                            </div>
                            <a href="{% url 'login:user_login' %}"><button type="button" class="next-btn next-medium next-btn-normal next-btn-text normal-forgot">密码登录</button></a>
                        </div>
                        <div id="wechat" style="text-align: center;">
                        </div>
                    </div>
                </div>
            </div>
        </div>
        </div>
<div style="text-align: center; height: 60px; line-height: 60px; position: absolute;bottom: 0; font-size: 12px; color: rgb(153, 153, 153); width: 100%;">
    Copyright © 2020-2099 Stronggg. All rights reserved.
</div>
<div style="text-align: center; height: 60px; line-height: 60px; position: absolute; bottom: 20px; font-size: 12px; color: rgb(153, 153, 153); width: 100%;">
    <a href="https://beian.miit.gov.cn/" style="text-decoration: none;color: grey">粤ICP备18131478号-1 </a>
</div>
    </body>
<script>
    window.WwLogin({
        "id" : "wechat",
        "appid" : "{{ Corpid }}",
        "agentid" : "{{ Login_Agentid }}",
        "redirect_uri" : "{{ redirect_uri }}",
        "state" : "",
        "href" : "",
    });
</script>
{% if msg %}
    <script type="text/javascript">
        layui.use('layer',function () {
            var layer=layui.layer;
            info = '{{ msg|safe }}'
            layer.alert(info,{
                icon: 0,
                skin: 'layer-ext-moon',
            })
        })
    </script>
{% endif %}
</html>


